/*
 * bwOsd.h
 *
 *  Created on: 2018年11月9日
 *      Author: linsainan
 */

#ifndef BW_OSD_H_
#define BW_OSD_H_

#include "enc_shrm.h"

typedef enum
{
	BWENC_VD_1920 = 1,  // 1920x1080
	BWENC_VD_1280,    // 1280x720
	BWENC_VD_576,	 // 720x576
	BWENC_VD_480	// 720x480
} eVDFORMAT_TYPE;

typedef enum
{
	BWENC_TEXT_POS_UP = 1,  //上
	BWENC_TEXT_POS_DOWN
}eTEXTPOS_TYPE;

typedef enum
{
	BWENC_FONT_AILERON_T=1,
	BWENC_FONT_IDEALIST_T,
	BWENC_FONT_KELSON_T,
	BWENC_FONT_BITTER_T,
	BWENC_FONT_ZWODERI_T,
	BWENC_FONT_BRAXTON_T
} eFONTSTYLE_TYPE;

typedef enum{
	BWENC_RS_SLOW_T =1,
	BWENC_RS_NORMAL_T,
	BWENC_RS_QUICK_T
}eFONTRS_TYPE;

#define BWENC_RS_SLOW "slow"
#define BWENC_RS_NORMAL "normal"
#define BWENC_RS_QUICK  "quick"

#define BWENC_FONT_AILERON "Aileron"
#define BWENC_FONT_IDEALIST "Idealist sans"
#define BWENC_FONT_KELSON "Kelson sans"
#define BWENC_FONT_BITTER "Bitter Ht"
#define BWENC_FONT_ZWODERI "Zwoderi"
#define BWENC_FONT_BRAXTON "Braxton Free"
#define BWENC_FONT_SIMHEI	"simhei"

#define	BWENC_FONT_TYPE_NORMAL "normal"
#define BWENC_FONT_TYPE_BOLD	"bold"
#define BWENC_FONT_TYPE_ITALIC	"italic"


#ifdef __cplusplus
	extern "C" {
#endif
	const char* logo_edit(const char* json);
	const char* sub_edit(const char* json);
	const char* qrcode_edit(const char* json);
	const char* osd_list(const char* json);
	const char* osd_del(const char* json);
	int next_show_osd();
	
	const char* osd_edit(const char* json);

#ifdef __cplusplus
	}
#endif

#endif /* BW_OSD_H_ */
